%{if count($errorMessages) gt 0}
<div class="error-box"> 
	<ol>
		%{foreach from=$errorMessages item=message}
			<li>%{$message}</li>
		%{/foreach}
	</ol>
</div>
%{/if}
%{if count($successMessages) gt 0}
<div class="success-box"> 
	<ol>
		%{foreach from=$successMessages item=message}
			<li>%{$message}</li>
		%{/foreach}
	</ol>
</div>
%{/if}
%{if count($warningMessages) gt 0}
<div class="warning-box">
	<ol>
		%{foreach from=$warningMessages item=message}
			<li>%{$message}</li>
		%{/foreach}
	</ol>
</div>
%{/if}
%{if count($infoMessages) gt 0}
<div class="info-box"> 
	<ol>
		%{foreach from=$infoMessages item=message}
			<li>%{$message}</li>
		%{/foreach}
	</ol>
</div>
%{/if}	